package com.xmx.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.xmx.service.HelloService;

/**
 * @Author Xumx
 * @Date 2021/3/13 9:59
 * @Version 1.0
 */
//发布服务必须使用Dubbo提供的Service注解
@Service
public class HelloServiceImpl implements HelloService {
    @Override
    public String sayHello(String name) {
        return "hello " + name;
    }
}
